package o;

import android.graphics.drawable.Drawable;
import android.view.View;
import android.widget.ExpandableListView;
import java.lang.ref.WeakReference;

public class qj extends SkinAttr {

    static final class b extends fkz<SkinAttr, Drawable> {
        private WeakReference<ExpandableListView> ˊ;

        public /* synthetic */ void ॱ(Object obj) {
            ˎ((Drawable) obj);
        }

        private b(ExpandableListView expandableListView) {
            this.ˊ = new WeakReference(expandableListView);
        }

        public void ˎ(Drawable drawable) {
            ExpandableListView expandableListView = (ExpandableListView) this.ˊ.get();
            if (expandableListView != null) {
                expandableListView.setChildIndicator(drawable);
            }
        }
    }

    public qj() {
        this.ˎ = 0;
    }

    public void ˎ(View view, boolean z) {
        if (view instanceof ExpandableListView) {
            ExpandableListView expandableListView = (ExpandableListView) view;
            if ("drawable".equals(this.attrValueTypeName) || "color".equals(this.attrValueTypeName)) {
                this.ʽ = "drawable";
                fks.ˎ(view.getContext(), this, new b(expandableListView)).ॱ(z);
            }
        }
    }
}
